package com.sanri.buildingblock.exportcenter.dao;

import com.sanri.buildingblock.exportcenter.dao.entity.TaskConfig;
import org.apache.ibatis.annotations.Mapper;

/**
 * @description:
 * @author: huangzhengri
 * @time: 2023-04-14 15:27
 */
@Mapper
public interface TaskConfigRegisterDao {
    /**
     * 注册一个任务配置
     * @param taskConfig
     * @return
     */
    int register(TaskConfig taskConfig);

    /**
     * 重启时清空所有任务配置
     * @return
     */
    int deleteAll();
}
